<?php
class DmapController extends Zend_Controller_Action 
{
    
    
    
    public function indexAction()
    {
        $app = Led_Application::getInstance();
        
        Zend::loadClass('Zend_View');        
        $view = new Zend_View();
        $view->addScriptPath('/wwwroot/htdocs/dporssi/dporssi_data/templates');
                
        $finder = $app->getEdo()->getFinder('ent_dictator');
                
        $dictators = $finder->findAll(array(), 'order_id ASC');
        
        $view->dictators = $dictators;
        
        
        $this->getResponse()->appendBody($view->render('dmap/index.tpl'));
               
        

    }
    
}